begintownscript;
variables;
short choice,i,j;

body;

beginstate init_state;
set_name(9,"???");
set_name(6,"Sly");

i = 0;
while(char_ok(i) == 0){
	i = i + 1;
}
relocate_character(i,16,1);
set_character_facing(i,4);
set_character_pose(i,0);
force_instant_terrain_redraw();
reset_dialog();
add_dialog_str(0,"The once crowded streets were nearly empty now. A few sailors and other locals wandered about, but they hurried about their way eager to get safely to wherever they headed. I was left alone with my thoughts.",0);
add_dialog_choice(0,"OK");
choice = run_dialog(1);
break;

beginstate exit_state;
break;

beginstate start_state;
//
break;

beginstate 10;
if(get_flag(30,0) == 0){
	set_flag(30,0,1);
	reset_dialog();
	add_dialog_str(0,"The more I saw of Cigosal the more I wanted to leave. The city had turned out as foul as its reputation, but from what Ethan had said the rest of the world was little better.",0);
	add_dialog_str(1,"_Men are given to do evil, yes, but these are often crimes of necessity, not malice. A good man will steal as soon as an evil man when he must feed his family._",0);
	add_dialog_str(2,"How often had I heard Father Kay say the same-- but that was his fairy tale world, not reality. Then what were those words doing in a man like Ethan's mouth?",0);
	run_dialog(1);
}
break;

beginstate 11;
if(get_flag(30,1) == 0){
	set_flag(30,1,1);
	reset_dialog();
	add_dialog_str(0,"He took in a criminal, and even when Sly brought grave danger down on the Chapel he died protecting him. Why?",0);
	add_dialog_str(1,"_I gave my life to serve these people long ago, I would gladly give it again._",0);
	add_dialog_str(2,"These people? Certainly he'd given his life to serve the desperate victims that came to the Chapel-- but why would he include a man like Sly? Why would he give his life for a man like that?",0);
	run_dialog(1);
}
break;

beginstate 12;
if(get_flag(30,2) == 0){
	set_flag(30,2,1);
	reset_dialog();
	add_dialog_str(0,"_It is in man's nature to turn to evil, and as long as there are circumstances to drive him to it man will continue to do so. Minister to the criminal as you would any other victim._",0);
	add_dialog_str(1,"Had Father Kay been right all along? And if he was, then why should his work die with him? Why should it all end for nothing?",0);
	add_dialog_str(2,"He always thought that others would follow suit when they saw what good the Order did-- an example to follow, that's what he was.",0);
	add_dialog_str(3,"But there was nobody like that in a city like this. There was nobody strong enough to do what he did.",0);
	add_dialog_choice(0,"OK");
	choice = run_dialog(1);
}
break;

beginstate 13;
if(get_flag(30,3) == 0){
	set_flag(30,3,1);
	message_dialog("My train of thought was suddenly derailed when I turned the corner.","In the alley to the north was a figure that turned my blood cold and brought my heart to a screeching halt before sending it racing-- a man that I was sure would haunt my dreams for years to come.");
	force_view_center(13,26);
	force_instant_terrain_redraw();
	pause(5);
	
	reset_dialog();
	add_dialog_str(0,"His back was to me, but even without seeing him eye to spectral-eye I knew him. How could I forget the man who'd destroyed everything I'd ever known.",0);
	add_dialog_str(1,"Before my anger had goaded me into confronting him, even as every nerve in my body urged me to flee. Fury had won the day, though, and in the end it consumed the Chapel just as it did me. More destruction.",0);
	add_dialog_str(2,"But as I approached him this time I wasn't afraid. I wasn't angry either-- I felt a sense of purpose, something beyond revenge. As I drew near, he pulled a dagger from his belt and lowered himself to a kneeling position.",0);
	add_dialog_Str(3,"So intent was he that he didn't notice my approach, not even when I bent to pick a loose cobblestone from the street.",0);
	add_dialog_choice(0,"OK");
	choice = run_dialog(1);
	
	set_character_facing(i,2);
	relocate_character(i,14,26);
	force_view_center(14,26);
	set_character_pose(i,2);
	force_instant_terrain_redraw();
	pause(1);
	
	reset_dialog();
	add_dialog_str(0,"I could not see the focus of his attention, but I knew that he could be up to no good. I raised the cobblestone high above my head..."0);
	add_dialog_choice(0,"OK");
	choice = run_dialog(1);
	
	set_character_pose(i,1);
	set_character_facing(i,2);
	force_instant_terrain_redraw();
	play_sound(72);
	pause(1);
	
	play_sound(-84);
	set_character_pose(9,11);
	force_instant_terrain_redraw();
	pause(1);
	
	set_character_pose(9,12);
	force_instant_terrain_redraw();
	pause(1);
	
	set_character_pose(9,13);
	force_instant_terrain_redraw();
	pause(1);
	
	set_character_pose(9,14);
	force_instant_terrain_redraw();
	pause(1);
	
	set_character_pose(i,0);
	force_instant_terrain_redraw();
	
	message_dialog("He never turned. Not even as the cobblestone went crashing into the back of his head. I felt no joy as he crumpled to the ground-- just a vague sense of relief. I'd accomplished something.","Just then I saw exactly what I had accomplished.");
	message_dialog("Completely helpless and lying at my feet were two men I couldn't have been less happy to see.","Beside the crumpled assassin lay the comatose form of none other than the bandit from back at the Chapel.");
	message_dialog("They were both unconscious, but both were still alive. Even the assassin-- who bled profusely from the considerable head wound he'd received.","Sly too was alive. That was what the bandit had said his name was-- Christopher Sly. I'd saved Christopher Sly yet again.");
	message_dialog("It felt a lot better this time around.","");
	relocate_character(i,1,1);
	force_view_center(1,1);
	set_character_facing(i,4);
	force_instant_terrain_redraw();
	
	reset_dialog();
	add_dialog_str(0,"I left him there-- and surprisingly it didn't pain me to do it. He was at my mercy, and I gave it to him. It was what Father Kay would have wanted.",0);
	add_dialog_str(1,"So I left the assassin in the dirt there. I didn't call the guards-- though I certainly could have let them finish him for me. I just left him in that alley, and hopefully that is the last I'll see of him. That part of my life is done.",0);
	add_dialog_str(2,"As for Sly-- well a lot had gone in to preserving that life, and it had become clear that he couldn't hang on to it on his own.",0);
	add_dialog_str(3,"So I took him with me. I'm not one for turning my back on one in need.",0);
	add_dialog_choice(0,"I see.");
	choice = run_dialog(1);
	set_flag(250,4,2);
	move_to_new_town(31,32,28);
}
break;



beginstate 100;
block_entry(1);
break;

beginstate 101;
block_entry(1);
message_dialog("That was the way I'd come from.","");
break;

beginstate 102;
block_entry(1);
message_dialog("I wasn't about to go wandering down some back alley-- I might have been a fool for roaming Cigosal at night, but I didn't have a death wish.","");
break;